package cn.codingjc.peekaboo.infrastructure.persistence.mapper;

import cn.codingjc.peekaboo.infrastructure.persistence.po.SysRolePO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @date: 2023/5/8
 * @author: Codingjc
 * @className: SysRoleMapper
 **/

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRolePO> {
    List<SysRolePO> getSysRolesByUserId(@Param("userId") Long userId);
}
